package com.mp3s.stock.history;

import java.util.List;

import com.mp3s.db_sqlite_pool.db_sqlite_pool;
import com.mp3s.interface3.IDataSave;
import com.mp3s.interface3.QuoteData;

public class history implements IDataSave {
    
    private db_sqlite_pool dbIns = new db_sqlite_pool();

    // 判断是否要创建库
    public void CreateTabeIfNotExist(){
        dbIns.init();
    }

    public void save(List<QuoteData> q){
        // System.out.println("quote:"+q.toString());
        dbIns.save(q);
    }
}
